<div class="post">
	<div class="post_title">
		<%= sanitize @post[:title] %>
		<% unless hide_edit_links? %> <span style="float:right"> <%= link_to_unless_current 'Mostrar', blog_post_path(@post.blog_id, @post) %> |
			<%= link_to_unless_current 'Editar', edit_blog_post_path(@post.blog_id, @post) %> |
			|<%= link_to 'Eliminar', blog_post_path(@post.blog_id, @post),
			:confirm => 'Deseas eliminar este post?', :method => :delete %> </span>
		<% end %>
	</div>
	<div class="post_body">
		<%= sanitize @post.body %>
	</div>
	<!-- For render image -->
	<div class="painting">
		<%= image_tag @post.image_url(:thumb) if @post.image? %>
	</div>
	<div class="post_creation_date">
		Publicado <%= time_ago_in_words @post.created_at %> ago
		<% if @post.updated_at != @post.created_at %>
		<br />
		Modified <%= time_ago_in_words @post.updated_at %> ago
		<% end %>
	</div>
</div>